package com.qzsoft.zhjd.collect.modules.product.model.xm;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 生产任务
 */
public class TaskModel {

    private Long id;  //自动编号
    private String code;  //任务单编号
    private String contract;  //合同编号
    private String customer;  //委托单位
    private String projName;  //工程名称
    private String consPos;  //施工部位
    private String projAdr;  //工程地址
    private String pour;  //浇筑方法
    private Double distance;  //运输距离
    private Double mete;  //计划用量
    private String attamper;  //下达任务人姓名
    private String operator;  //录入人姓名
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date contractDate;  //合同日期
    private Long recipe;  //砼历史配比ID号
    private Long morRec;  //砂浆历史配比ID号
    private String qualitor;  //技术负责人姓名
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date datTim;  //用砼日期
    private Long rwly;  //任务来源，0=本地
    private String gcbm;  //工程编码
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date dtc;  //任务单录入日期
    private String projType;  //工程类别
    private String projGrade;  //工程等级
    private Double projArea;  //开工面积

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getContract() {
        return contract;
    }

    public void setContract(String contract) {
        this.contract = contract;
    }

    public String getCustomer() {
        return customer;
    }

    public void setCustomer(String customer) {
        this.customer = customer;
    }

    public String getProjName() {
        return projName;
    }

    public void setProjName(String projName) {
        this.projName = projName;
    }

    public String getConsPos() {
        return consPos;
    }

    public void setConsPos(String consPos) {
        this.consPos = consPos;
    }

    public String getProjAdr() {
        return projAdr;
    }

    public void setProjAdr(String projAdr) {
        this.projAdr = projAdr;
    }

    public String getPour() {
        return pour;
    }

    public void setPour(String pour) {
        this.pour = pour;
    }

    public Double getDistance() {
        return distance;
    }

    public void setDistance(Double distance) {
        this.distance = distance;
    }

    public Double getMete() {
        return mete;
    }

    public void setMete(Double mete) {
        this.mete = mete;
    }

    public String getAttamper() {
        return attamper;
    }

    public void setAttamper(String attamper) {
        this.attamper = attamper;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public Date getContractDate() {
        return contractDate;
    }

    public void setContractDate(Date contractDate) {
        this.contractDate = contractDate;
    }

    public Long getRecipe() {
        return recipe;
    }

    public void setRecipe(Long recipe) {
        this.recipe = recipe;
    }

    public Long getMorRec() {
        return morRec;
    }

    public void setMorRec(Long morRec) {
        this.morRec = morRec;
    }

    public String getQualitor() {
        return qualitor;
    }

    public void setQualitor(String qualitor) {
        this.qualitor = qualitor;
    }

    public Date getDatTim() {
        return datTim;
    }

    public void setDatTim(Date datTim) {
        this.datTim = datTim;
    }

    public Long getRwly() {
        return rwly;
    }

    public void setRwly(Long rwly) {
        this.rwly = rwly;
    }

    public String getGcbm() {
        return gcbm;
    }

    public void setGcbm(String gcbm) {
        this.gcbm = gcbm;
    }

    public Date getDtc() {
        return dtc;
    }

    public void setDtc(Date dtc) {
        this.dtc = dtc;
    }

    public String getProjType() {
        return projType;
    }

    public void setProjType(String projType) {
        this.projType = projType;
    }

    public String getProjGrade() {
        return projGrade;
    }

    public void setProjGrade(String projGrade) {
        this.projGrade = projGrade;
    }

    public Double getProjArea() {
        return projArea;
    }

    public void setProjArea(Double projArea) {
        this.projArea = projArea;
    }
}
